
**************** Java Script Mobile Switcher Info ****************

When using the JS version of out Mobile Switcher you must ensure you link to the Java Script from every page of the standard website.

Place the JavaSript file in the 'js' folder and place the link below before the closing head tag </head> of each page.


<script type="text/javascript" src="js/mobile-switcher.js"></script>


Depending in which directory the js folder is uploaded to will determine the actual path used in the script source link!

So for example, if you upload the js folder to the main directory of http://YourSite.com/ but the HTML files are in a directory named http://YourSite.com/redirect-test then the source path to the js script will be: <script type="text/javascript" src="/js/mobile-switcher.js"></script> 

In this example weve added a forward slash / in front of js so that the link on the HTML page to the js folder is looking in the correct locationPhewwww lol


:-) 